package com.gitee.xmhzzz.component.mqtt.broker;

import java.util.UUID;

/**
 * @ClassName StandaloneMQTTBrokerBuilder
 * @Description
 * @Author wzq
 * @Date 2024/6/7 11:31
 * @Version 1.0
 */
public class StandaloneMQTTBrokerBuilder extends AbstractMQTTBrokerBuilder{
    String id = UUID.randomUUID().toString();

    @Override
    public String brokerId() {
        return this.id;
    }

    @Override
    public IMQTTBroker build() {
        return new StandaloneMQTTBroker(this);
    }
}
